Crate authenticode
source ·Expand description
Authenticode utilities.
Reference: https://docs.microsoft.com/en-us/windows/win32/debug/pe-format
§Features
All features are disabled by default.
object
: Enables a dependency onobject
and implsPeTrait
forPeFile
.std
: Turns offno_std
and implsstd::error::Error
for the error types.
Structs§
- Raw data for a PE attribute certificate.
- Iterator over PE attribute certificates.
- Parsed authenticode signature.
- Authenticode ASN.1 digest data.
- An offset within the PE is invalid.
- Various offsets within the PE file needed for authenticode hashing.
- Authenticode ASN.1 image data.
- Authenticode ASN.1 image and digest data.
Enums§
- Error returned by
AttributeCertificate::get_authenticode_signature
. - Error type for
AttributeCertificateIterator
. - Error returned by
AuthenticodeSignature::from_bytes
.
Constants§
- OID for
SpcIndirectDataContent
. - Current version of
Win_Certificate
structure. - Certificate contains a PKCS#7
SignedData
structure.
Traits§
- Trait for reading a PE file.
Functions§
- Calculate an authenticode digest.